<?php
defined('IN_IA') or exit('Access Denied');

function _calc_current_frames2(&$frames) {
	global $_W,$_GPC;
	if(!empty($frames) && is_array($frames)) {
		foreach($frames as &$frame) {
			foreach($frame['items'] as &$fr) {
				if(count($fr['actions']) == 2){
					if($fr['actions']['1'] == $_GPC[$fr['actions']['0']]){
						$fr['active'] = 'active';
					}
				}elseif(count($fr['actions']) == 4){
					if($fr['actions']['1'] == $_GPC[$fr['actions']['0']] && $fr['actions']['3'] == $_GPC[$fr['actions']['2']]){
						$fr['active'] = 'active';
					}
				}else{
					$query = parse_url($fr['url'], PHP_URL_QUERY);
					parse_str($query, $urls);
					if(defined('ACTIVE_FRAME_URL')) {
						$query = parse_url(ACTIVE_FRAME_URL, PHP_URL_QUERY);
						parse_str($query, $get);
					} else {
						$get = $_GET;
					}
					if(!empty($_GPC['a'])) {
						$get['a'] = $_GPC['a'];
					}
					if(!empty($_GPC['c'])) {
						$get['c'] = $_GPC['c'];
					}
					if(!empty($_GPC['do'])) {
						$get['do'] = $_GPC['do'];
					}
					if(!empty($_GPC['ac'])) {
						$get['ac'] = $_GPC['ac'];
					}
					if(!empty($_GPC['status'])) {
						$get['status'] = $_GPC['status'];
					}
					if(!empty($_GPC['op'])) {
						$get['op'] = $_GPC['op'];
					}
					if(!empty($_GPC['m'])) {
						$get['m'] = $_GPC['m'];
					}
					$diff = array_diff_assoc($urls, $get);

					if(empty($diff)) {
						$fr['active'] = 'active';
					}else{
						$fr['active'] = '';
					}
				}
			}
		}
	}
}
//公众号设置
function getgzhsetFrames(){
	global $_W;
	$frames=array();
	$frames['notificas']['title'] = '<i class="fa fa-gear"></i>&nbsp;&nbsp; 通知设置';
	$frames['notificas']['items'] = array();

    // $frames['notificas']['items']['cache']['url'] = web_url('gzhset/cache',array("submit"=>"true"));
    // $frames['notificas']['items']['cache']['title'] = '清理缓存';
    // $frames['notificas']['items']['cache']['actions'] = array();
    // $frames['notificas']['items']['cache']['active'] = '';

	if($_W['uniacid']==53){
	$frames['notificas']['items']['notification']['url'] = web_url('gzhset/notification');
	$frames['notificas']['items']['notification']['title'] = '发布通知';
	$frames['notificas']['items']['notification']['actions'] = array();
	$frames['notificas']['items']['notification']['active'] = '';
	}
	$frames['notificas']['items']['nlist']['url'] = web_url('gzhset/notification-list');
	$frames['notificas']['items']['nlist']['title'] = '通知列表';
	$frames['notificas']['items']['nlist']['actions'] = array();
	$frames['notificas']['items']['nlist']['active'] = '';
	
	$frames['gzhsethf']['title']= '<i class="fa fa-gear"></i>&nbsp;&nbsp; 回复设置';
	$frames['gzhsethf']['items'] = array();
	$frames['gzhsethf']['items']['platform']['url'] = web_url('gzhset/platform/platform');
	$frames['gzhsethf']['items']['platform']['title'] = '公众号概况';
	$frames['gzhsethf']['items']['platform']['actions'] = array();
	$frames['gzhsethf']['items']['platform']['active'] = '';
	
	$frames['gzhsethf']['items']['special']['url'] = web_url('gzhset/special/display');
	$frames['gzhsethf']['items']['special']['title'] = '系统回复';
	$frames['gzhsethf']['items']['special']['actions'] = array();
	$frames['gzhsethf']['items']['special']['active'] = '';
	
	$frames['gzhsethf']['items']['adv1']['url'] = web_url('gzhset/reply',array('mo' => 'basic'));
	$frames['gzhsethf']['items']['adv1']['title'] = '文字回复';
	$frames['gzhsethf']['items']['adv1']['actions'] = array('ac','basic');
	$frames['gzhsethf']['items']['adv1']['active'] = '';
	
	$frames['gzhsethf']['items']['adv2']['url'] = web_url('gzhset/reply',array('mo' => 'news'));
	$frames['gzhsethf']['items']['adv2']['title'] = '图文回复';
	$frames['gzhsethf']['items']['adv2']['actions'] = array();
	$frames['gzhsethf']['items']['adv2']['active'] = '';
	
	$frames['gzhsethf']['items']['adv3']['url'] = web_url('gzhset/reply',array('mo' => 'images'));
	$frames['gzhsethf']['items']['adv3']['title'] = '图片回复';
	$frames['gzhsethf']['items']['adv3']['actions'] = array();
	$frames['gzhsethf']['items']['adv3']['active'] = '';
	/*
	$frames['gzhsethf']['items']['adv4']['url'] = web_url('gzhset/reply',array('mo' => 'music'));
	$frames['gzhsethf']['items']['adv4']['title'] = '音乐回复';
	$frames['gzhsethf']['items']['adv4']['actions'] = array();
	$frames['gzhsethf']['items']['adv4']['active'] = '';
	
	$frames['gzhsethf']['items']['adv5']['url'] = web_url('gzhset/reply',array('mo' => 'voice'));
	$frames['gzhsethf']['items']['adv5']['title'] = '语音回复';
	$frames['gzhsethf']['items']['adv5']['actions'] = array();
	$frames['gzhsethf']['items']['adv5']['active'] = '';
	
	$frames['gzhsethf']['items']['adv5']['url'] = web_url('gzhset/reply',array('mo' => 'video'));
	$frames['gzhsethf']['items']['adv5']['title'] = '视频回复';
	$frames['gzhsethf']['items']['adv5']['actions'] = array();
	$frames['gzhsethf']['items']['adv5']['active'] = '';*/
	
	$frames['gzhsethf']['items']['adv']['url'] = web_url('gzhset/reply',array('mo' => 'custom'));
	$frames['gzhsethf']['items']['adv']['title'] = '多客服接入';
	$frames['gzhsethf']['items']['adv']['actions'] = array();
	$frames['gzhsethf']['items']['adv']['active'] = '';
	
	$frames['gzhsethf']['items']['reply']['url'] = web_url('gzhset/reply',array('mo' => 'userapi'));
	$frames['gzhsethf']['items']['reply']['title'] = '自定义接口回复';
	$frames['gzhsethf']['items']['reply']['actions'] = array();
	$frames['gzhsethf']['items']['reply']['active'] = '';

	
	$frames['gzhsetgj']['title'] = '<i class="fa fa-bookmark"></i>&nbsp;&nbsp; 高级功能';
	$frames['gzhsetgj']['items'] = array();
	$frames['gzhsetgj']['items']['category1']['url'] = web_url('gzhset/menu');
	$frames['gzhsetgj']['items']['category1']['title'] = '自定义菜单设置';
	$frames['gzhsetgj']['items']['category1']['actions'] = array();
	$frames['gzhsetgj']['items']['category1']['active'] = '';
	
	$frames['gzhsetgj']['items']['category2']['url'] = web_url('gzhset/url2qr');
	$frames['gzhsetgj']['items']['category2']['title'] = '长链转短链';
	$frames['gzhsetgj']['items']['category2']['actions'] = array();
	$frames['gzhsetgj']['items']['category2']['active'] = '';
	
	$frames['gzhsetgj']['items']['category3']['url'] = web_url('gzhset/passport',array('mo' => 'oauth'));
	$frames['gzhsetgj']['items']['category3']['title'] = 'oAuth设置';
	$frames['gzhsetgj']['items']['category3']['actions'] = array();
	$frames['gzhsetgj']['items']['category3']['active'] = '';
	if($_W['isfounder']){
	$frames['gzhsetgj']['items']['category4']['url'] = web_url('gzhset/jsauth');
	$frames['gzhsetgj']['items']['category4']['title'] = 'JS分享设置';
	$frames['gzhsetgj']['items']['category4']['actions'] = array();
	$frames['gzhsetgj']['items']['category4']['active'] = '';
	}
	
	$frames['gzhset1']['title'] = '<i class="fa fa-bookmark"></i>&nbsp;&nbsp; 支付设置';
	$frames['gzhset1']['items'] = array();
	$frames['gzhset1']['items']['category1']['url'] = web_url('gzhset/payment');
	$frames['gzhset1']['items']['category1']['title'] = '支付参数';
	$frames['gzhset1']['items']['category1']['actions'] = array();
	$frames['gzhset1']['items']['category1']['active'] = '';
	
	
	
	$frames['gzhset1']['items']['helpbuy']['url'] = web_url('gzhset/helpbuy/list');
	$frames['gzhset1']['items']['helpbuy']['title'] = '代付设置';
	$frames['gzhset1']['items']['helpbuy']['actions'] = array();
	$frames['gzhset1']['items']['helpbuy']['active'] = '';
	return $frames;
}
//后台管理列表生成
function getstoreFrames(){
	global $_W;
	$frames = array();
	$frames['store']['title'] = '<i class="fa fa-gear"></i>&nbsp;&nbsp; 商城设置';
	$frames['store']['items'] = array();


	$frames['store']['items']['setting']['url'] = web_url('store/setting/copyright');
	$frames['store']['items']['setting']['title'] = '参数设置';
	$frames['store']['items']['setting']['actions'] = array();
	$frames['store']['items']['setting']['active'] = '';

	$frames['store']['items']['notice']['url'] = web_url('store/notice');
	$frames['store']['items']['notice']['title'] = '模板消息';
	$frames['store']['items']['notice']['actions'] = array();
	$frames['store']['items']['notice']['active'] = '';

	$frames['store']['items']['adv']['url'] = web_url('store/adv');
	$frames['store']['items']['adv']['title'] = '首页轮播';
	$frames['store']['items']['adv']['actions'] = array();
	$frames['store']['items']['adv']['active'] = '';

	$frames['store']['items']['print']['url'] = web_url('store/print');
	$frames['store']['items']['print']['title'] = '小票打印设置';
	$frames['store']['items']['print']['actions'] = array();
	$frames['store']['items']['print']['active'] = '';


	/*
      /*$frames['delivery']['title'] = '<i class="fa fa-truck"></i>&nbsp;&nbsp; 配送设置';
        $frames['delivery']['items'] = array();
        $frames['delivery']['items']['autoaddress']['url'] = web_url('store/autoaddress');
        $frames['delivery']['items']['autoaddress']['title'] = '自定义区域';
        $frames['delivery']['items']['autoaddress']['actions'] = array();
        $frames['delivery']['items']['autoaddress']['active'] = '';
        $frames['delivery']['items']['deliverylist']['url'] = web_url('store/deliverylist');
        $frames['delivery']['items']['deliverylist']['title'] = '运费模板';
        $frames['delivery']['items']['deliverylist']['actions'] = array();
        $frames['delivery']['items']['deliverylist']['active'] = '';*/


	/*
	$frames['delivery']['items']['selflogistics']['url'] = web_url('store/selflogistics');
	$frames['delivery']['items']['selflogistics']['title'] = '送货上门';
	$frames['delivery']['items']['selflogistics']['actions'] = array();
	$frames['delivery']['items']['selflogistics']['active'] = '';
	$frames['delivery']['items']['sendtime']['url'] = web_url('store/sendtime');
	$frames['delivery']['items']['sendtime']['title'] = '送货时间';
	$frames['delivery']['items']['sendtime']['actions'] = array();
	$frames['delivery']['items']['sendtime']['active'] = '';

	$frames['other']['title'] = '<i class="fa fa-truck"></i>&nbsp;&nbsp; 其他设置';
	$frames['other']['items'] = array();
	$frames['other']['items']['copyright']['url'] = web_url('store/copyright');
	$frames['other']['items']['copyright']['title'] = '满包邮';
	$frames['other']['items']['copyright']['actions'] = array();
	$frames['other']['items']['copyright']['active'] = '';

	$frames['other']['items']['copyright']['url'] = web_url('store/copyright');
	$frames['other']['items']['copyright']['title'] = '去版权';
	$frames['other']['items']['copyright']['actions'] = array();
	$frames['other']['items']['copyright']['active'] = '';

	/*
	$frames['store']['items']['setting0']['url'] = web_url('store/delivery/display0');
	$frames['store']['items']['setting0']['title'] = '权限管理';
	$frames['store']['items']['setting0']['actions'] = array();
	$frames['store']['items']['setting0']['active'] = '';


	$frames['merchant']['title'] = '<i class="fa fa-archive"></i>&nbsp;&nbsp; 商家管理';
	$frames['merchant']['items'] = array();

	$frames['merchant']['items']['merchantlist']['url'] = web_url('application/merchant/display',array('status' => '1'));
	$frames['merchant']['items']['merchantlist']['title'] = '商家列表';
	$frames['merchant']['items']['merchantlist']['actions'] = array('op','display');
	$frames['merchant']['items']['merchantlist']['active'] = '';

	$frames['merchant']['items']['merchantcenter']['url'] = web_url('application/merchant/account_display',array('status' => '1'));
	$frames['merchant']['items']['merchantcenter']['title'] = '商家中心';
	$frames['merchant']['items']['merchantcenter']['actions'] = array();
	$frames['merchant']['items']['merchantcenter']['active'] = '';	*/
//	$frames['store']['items']['display2']['url'] = web_url('store/address/display');
//	$frames['store']['items']['display2']['title'] = '地区管理';
//	$frames['store']['items']['display2']['actions'] = array();
//	$frames['store']['items']['display2']['active'] = '';
//
//	$frames['page']['title'] = '<i class="fa fa-inbox"></i>&nbsp;&nbsp; 页面管理';
//	$frames['page']['items'] = array();
//	$frames['page']['items']['home']['url'] = web_url('store/home/display');
//	$frames['page']['items']['home']['title'] = '商城主页';
//	$frames['page']['items']['home']['actions'] = array();
//	$frames['page']['items']['home']['active'] = '';

//	$frames['page']['items']['detail']['url'] = web_url('store/detail/display');
//	$frames['page']['items']['detail']['title'] = '项目详情';
//	$frames['page']['items']['detail']['actions'] = array();
//	$frames['page']['items']['detail']['active'] = '';

	return $frames;
}

function getgoodsFrames(){
	global $_W;
	$frames = array();
	$frames['goods']['title'] = '<i class="fa fa-gift"></i>&nbsp;&nbsp; 项目管理';
	$frames['goods']['items'] = array();
	$frames['goods']['items']['category']['url'] = web_url('goods/category');
	$frames['goods']['items']['category']['title'] = '项目分类';
	$frames['goods']['items']['category']['actions'] = array('ac','category');
	$frames['goods']['items']['category']['active'] = '';


	$frames['goods']['items']['post']['url'] = web_url('goods/goods/post');
	$frames['goods']['items']['post']['title'] = '发布项目';
	$frames['goods']['items']['post']['actions'] = array();
	$frames['goods']['items']['post']['active'] = '';

	$frames['goods']['items']['display']['url'] = web_url('goods/goods/display',array('status' => '1'));
	$frames['goods']['items']['display']['title'] = '项目列表';
	$frames['goods']['items']['display']['actions'] = array();
	$frames['goods']['items']['display']['active'] = '';

    if($_W['uniacid'] == 4) {
        $frames['goods']['items']['goods_code']['url'] = web_url('goods/goods_code');
        $frames['goods']['items']['goods_code']['title'] = '项目二维码';
        $frames['goods']['items']['goods_code']['actions'] = array();
        $frames['goods']['items']['goods_code']['active'] = '';
    }

	$frames['goods']['items']['pickup']['url'] = web_url('goods/bdelete');
	$frames['goods']['items']['pickup']['title'] = '门店设置';
	$frames['goods']['items']['pickup']['actions'] = array();
	$frames['goods']['items']['pickup']['active'] = '';

	$frames['goods']['items']['saler']['url'] = web_url('goods/saler');
	$name="技师管理";
	if($_W['uniacid']==6 ||$_W['uniacid']==13){
		$name="老师管理";
	}
	$frames['goods']['items']['saler']['title'] = $name;
	$frames['goods']['items']['saler']['actions'] = array();
	$frames['goods']['items']['saler']['active'] = '';
    if($_W['uniacid']==6||$_W['uniacid']==4||$_W['uniacid']==13) {

        $frames['goods']['items']['coupon']['url'] = web_url('goods/coupon');
        $frames['goods']['items']['coupon']['title'] = '优惠券管理';
        $frames['goods']['items']['coupon']['actions'] = array();
        $frames['goods']['items']['coupon']['active'] = '';


        $frames['goods']['items']['coupon_record']['url'] = web_url('goods/coupon_record');
        $frames['goods']['items']['coupon_record']['title'] = '优惠券记录';
        $frames['goods']['items']['coupon_record']['actions'] = array();
        $frames['goods']['items']['coupon_record']['active'] = '';
    }
	return $frames;
}

function getorderFrames(){
	global $_W;
	$frames = array();
	$frames['order']['title'] = '<i class="fa fa-list"></i>&nbsp;&nbsp; 订单管理';
	$frames['order']['items'] = array();
	$frames['order']['items']['summary']['url'] = web_url('order/order/summary');
	$frames['order']['items']['summary']['title'] = '订单概况';
	$frames['order']['items']['summary']['actions'] = array();
	$frames['order']['items']['summary']['active'] = '';

	$frames['order']['items']['all']['url'] = web_url('order/order/received',array('dispatchtype'=>0));
	$frames['order']['items']['all']['title'] = '所有订单';
	$frames['order']['items']['all']['actions'] = array();
	$frames['order']['items']['all']['active'] = '';
/*
	$frames['order']['items']['received']['url'] = web_url('order/order/received',array('dispatchtype'=>2));
	$frames['order']['items']['received']['title'] = '快递订单';
	$frames['order']['items']['received']['actions'] = array();
	$frames['order']['items']['received']['active'] = '';

	$frames['order']['items']['fetch']['url'] = web_url('order/order/received',array('dispatchtype'=>3));
	$frames['order']['items']['fetch']['title'] = '自提订单';
	$frames['order']['items']['fetch']['actions'] = array();
	$frames['order']['items']['fetch']['active'] = '';

	$frames['order']['items']['fetch1']['url'] = web_url('order/order/received',array('dispatchtype'=>1));
	$frames['order']['items']['fetch1']['title'] = '送货上门';
	$frames['order']['items']['fetch1']['actions'] = array();
	$frames['order']['items']['fetch1']['active'] = '';

	$frames['order']['items']['luck']['url'] = web_url('order/order/received',array('dispatchtype'=>-1));
	$frames['order']['items']['luck']['title'] = '抽奖订单';
	$frames['order']['items']['luck']['actions'] = array();
	$frames['order']['items']['luck']['active'] = '';
	*/
	$frames['order']['items']['fetch4']['url'] = web_url('order/fetch');
	$frames['order']['items']['fetch4']['title'] = '售后订单';
	$frames['order']['items']['fetch4']['actions'] = array();
	$frames['order']['items']['fetch4']['active'] = '';
	/*
	$frames['order']['items']['fetch2']['url'] = web_url('order/order/received',array('dispatchtype'=>4));
	$frames['order']['items']['fetch2']['title'] = '邻购订单';
	$frames['order']['items']['fetch2']['actions'] = array();
	$frames['order']['items']['fetch2']['active'] = '';

	$frames['order']['items']['fetch3']['url'] = web_url('order/fetch/display');
	$frames['order']['items']['fetch3']['title'] = '购物车订单';
	$frames['order']['items']['fetch3']['actions'] = array();
	$frames['order']['items']['fetch3']['active'] = '';

	$frames['order']['items']['fetch4']['url'] = web_url('order/fetch/display');
	$frames['order']['items']['fetch4']['title'] = '售后订单';
	$frames['order']['items']['fetch4']['actions'] = array();
	$frames['order']['items']['fetch4']['active'] = '';

	$frames['group']['title'] = '<i class="fa fa-users"></i>&nbsp;&nbsp; 团购管理';
	$frames['group']['items'] = array();
	$frames['group']['items']['all1']['url'] = web_url('order/group/summary');
	$frames['group']['items']['all1']['title'] = '团购概况';
	$frames['group']['items']['all1']['actions'] = array();
	$frames['group']['items']['all1']['active'] = '';

	$frames['group']['items']['all']['url'] = web_url('order/group');
	$frames['group']['items']['all']['title'] = '所有团';
	$frames['group']['items']['all']['actions'] = array('groupstatus','','ac','group');
	$frames['group']['items']['all']['active'] = '';

	$frames['group']['items']['ongoing']['url'] = web_url('order/group/all',array('groupstatus' => '3'));
	$frames['group']['items']['ongoing']['title'] = '随意团';
	$frames['group']['items']['ongoing']['actions'] = array('groupstatus','3');
	$frames['group']['items']['ongoing']['active'] = '';

	$frames['group']['items']['success']['url'] = web_url('order/group/all',array('groupstatus' => '2'));
	$frames['group']['items']['success']['title'] = '邻购团';
	$frames['group']['items']['success']['actions'] = array('groupstatus','2');
	$frames['group']['items']['success']['active'] = '';

	$frames['group']['items']['fail']['url'] = web_url('order/will_die');
	$frames['group']['items']['fail']['title'] = '手动成团';
	$frames['group']['items']['fail']['actions'] = array();
	$frames['group']['items']['fail']['active'] = '';

	$frames['delivery']['title'] = '<i class="fa fa-paper-plane"></i>&nbsp;&nbsp; 配送方式';
	$frames['delivery']['items'] = array();
	$frames['delivery']['items']['template']['url'] = web_url('order/delivery/display');
	$frames['delivery']['items']['template']['title'] = '运费模板';
	$frames['delivery']['items']['template']['actions'] = array('ac','delivery');
	$frames['delivery']['items']['template']['active'] = '';
	*/

	$frames['judgment']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 评价管理';
	$frames['judgment']['items'] = array();
	$frames['judgment']['items']['evaluate']['url'] = web_url('order/evaluate');
	$frames['judgment']['items']['evaluate']['title'] = '评价参数';
	$frames['judgment']['items']['evaluate']['actions'] = array();
	$frames['judgment']['items']['evaluate']['active'] = '';
	$frames['judgment']['items']['judgment_admin']['url'] = web_url('order/judgment_admin');
	$frames['judgment']['items']['judgment_admin']['title'] = '评价管理';
	$frames['judgment']['items']['judgment_admin']['actions'] = array();
	$frames['judgment']['items']['judgment_admin']['active'] = '';

	$frames['import']['title'] = '<i class="fa fa-truck"></i>&nbsp;&nbsp; 发货管理';
	$frames['import']['items'] = array();
	$frames['import']['items']['import']['url'] = web_url('order/import/display');
	$frames['import']['items']['import']['title'] = '批量发货';
	$frames['import']['items']['import']['actions'] = array('ac','import');
	$frames['import']['items']['import']['active'] = '';
	/*
	$frames['import']['items']['import1']['url'] = web_url('order/import/display');
	$frames['import']['items']['import1']['title'] = '自动发货';
	$frames['import']['items']['import1']['actions'] = array('ac','import');
	$frames['import']['items']['import1']['active'] = '';
	*/

	$frames['refund']['title'] = '<i class="fa fa-money"></i>&nbsp;&nbsp; 批量退款';
	$frames['refund']['items'] = array();
	$frames['refund']['items']['refund']['url'] = web_url('order/refund/display');
	$frames['refund']['items']['refund']['title'] = '一键退款';
	$frames['refund']['items']['refund']['actions'] = array();
	$frames['refund']['items']['refund']['active'] = '';

	$frames['refund']['items']['refund_log']['url'] = web_url('order/refund_log');
	$frames['refund']['items']['refund_log']['title'] = '退款日志';
	$frames['refund']['items']['refund_log']['actions'] = array();
	$frames['refund']['items']['refund_log']['active'] = '';
	$frames['refund']['items']['refund_log']['append']['url'] = web_url('order/refund_log');
	$frames['refund']['items']['refund_log']['append']['title'] = '';
	return $frames;
}

function getmemberFrames(){
	global $_W;
	$frames = array();
	$frames['fans']['title'] = '<i class="fa fa-user"></i>&nbsp;&nbsp; 粉丝营销';
	$frames['fans']['items'] = array();

	$frames['fans']['items']['fangroup']['url'] = web_url('member/fangroup');
	$frames['fans']['items']['fangroup']['title'] = '粉丝分组';
	$frames['fans']['items']['fangroup']['actions'] = array();
	$frames['fans']['items']['fangroup']['active'] = '';

	$frames['fans']['items']['fans']['url'] = web_url('member/fans');
	$frames['fans']['items']['fans']['title'] = '粉丝';
	$frames['fans']['items']['fans']['actions'] = array();
	$frames['fans']['items']['fans']['active'] = '';

	$frames['fans']['items']['notice']['url'] = web_url('member/notice');
	$frames['fans']['items']['notice']['title'] = '客服群发';
	$frames['fans']['items']['notice']['actions'] = array();
	$frames['fans']['items']['notice']['active'] = '';

	$frames['member']['title'] = '<i class="fa fa-user"></i>&nbsp;&nbsp; 会员管理';
	$frames['member']['items'] = array();

	$frames['member']['items']['display']['url'] = web_url('member/member/display');
	$frames['member']['items']['display']['title'] = '会员管理';
	$frames['member']['items']['display']['actions'] = array();
	$frames['member']['items']['display']['active'] = '';

    wl_load()->model('setting');
    $set = setting_get_by_name('style');
	if ($set['webview'] == 'shaoniangong') {
        $frames['member']['items']['blacklist']['url'] = web_url('member/blacklist');
        $frames['member']['items']['blacklist']['title'] = '自动推送黑名单管理';
        $frames['member']['items']['blacklist']['actions'] = array();
        $frames['member']['items']['blacklist']['active'] = '';

        $frames['member']['items']['time']['url'] = web_url('member/time/index');
        $frames['member']['items']['time']['title'] = '活动前提醒推送';
        $frames['member']['items']['time']['actions'] = array();
        $frames['member']['items']['time']['active'] = '';
        $frames['member']['items']['times']['url'] = web_url('member/time/upindex');
        $frames['member']['items']['times']['title'] = '发送记录';
        $frames['member']['items']['times']['actions'] = array();
        $frames['member']['items']['times']['active'] = '';
//    $frames['member']['items']['blacklist']['append']['url'] = web_url('member/blacklist');
    }

	$frames['member3']['title'] = '<i class="fa fa-user"></i>&nbsp;&nbsp; 全民兼职';
	$frames['member3']['items'] = array();

	$frames['member3']['items']['partjob']['url'] = web_url('member/partjob');
	$frames['member3']['items']['partjob']['title'] = '兼职管理';
	$frames['member3']['items']['partjob']['actions'] = array();
	$frames['member3']['items']['partjob']['active'] = '';
	//$frames['member3']['items']['setting']['append']['url'] = web_url('member/member/setting');
	wl_load()->model('functions');
	$checkfunction=checkfunc(8167);

	if($checkfunction['status'])
	{
	$frames['member3']['items']['cash']['url'] = web_url('member/cash');
	$frames['member3']['items']['cash']['title'] = '提现管理';
	$frames['member3']['items']['cash']['actions'] = array();
	$frames['member3']['items']['cash']['active'] = '';
	}


	$frames['member2']['title'] = '<i class="fa fa-user"></i>&nbsp;&nbsp; 卡券管理';
	$frames['member2']['items'] = array();
	$frames['member2']['items']['activity']['url'] = web_url('member/activity');
	$frames['member2']['items']['activity']['title'] = '优惠券';
	$frames['member2']['items']['activity']['actions'] = array('ac','activity');
	$frames['member2']['items']['activity']['active'] = '';

	$frames['member2']['items']['group']['url'] = web_url('member/coupon');
	$frames['member2']['items']['group']['title'] = '组优惠券';
	$frames['member2']['items']['group']['actions'] = array('ac','coupon');
	$frames['member2']['items']['group']['active'] = '';
/*
	$frames['member2']['items']['display2']['url'] = web_url('member/member/display');
	$frames['member2']['items']['display2']['title'] = '折扣券';
	$frames['member2']['items']['display2']['actions'] = array();
	$frames['member2']['items']['display2']['active'] = '';

	$frames['member2']['items']['display3']['url'] = web_url('member/member/display');
	$frames['member2']['items']['display3']['title'] = '微信卡券';
	$frames['member2']['items']['display3']['actions'] = array();
	$frames['member2']['items']['display3']['active'] = '';

	$frames['member2']['items']['display4']['url'] = web_url('member/member/display');
	$frames['member2']['items']['display4']['title'] = '卡券核销';
	$frames['member2']['items']['display4']['actions'] = array();
	$frames['member2']['items']['display4']['active'] = '';
	*/

	$frames['sms']['title'] = '<i class="fa fa-user"></i>&nbsp;&nbsp; 短信关怀';
	$frames['sms']['items'] = array();


	$frames['sms']['items']['smsbuy']['url'] = web_url('member/smsbuy');
	$frames['sms']['items']['smsbuy']['title'] = '短信管理';
	$frames['sms']['items']['smsbuy']['actions'] = array();
	$frames['sms']['items']['smsbuy']['active'] = '';

	return $frames;
}

function getapplicationFrames(){
	global $_W;
	$frames = array();
	$frames['application']['title'] = '<i class="fa fa-cloud"></i>&nbsp;&nbsp; 管理应用';
	$frames['application']['items'] = array();

	$frames['application']['items']['list']['url'] = web_url('application/plugins/list');
	$frames['application']['items']['list']['title'] = '应用插件';
	$frames['application']['items']['list']['actions'] = array();
	$frames['application']['items']['list']['active'] = '';
	$frames['application']['items']['list']['append']['url'] = web_url('application/plugins/list');
	$frames['application']['items']['list']['append']['title'] = '<i class="fa fa-plus"></i>';

	$frames['base']['title'] = '<i class="fa fa-inbox"></i>&nbsp;&nbsp; 基础应用';
	$frames['base']['items'] = array();

	$frames['base']['items']['bdelete']['url'] = web_url('application/bdelete/hx_entry');
	$frames['base']['items']['bdelete']['title'] = '线下核销';
	$frames['base']['items']['bdelete']['actions'] = array('ac','bdelete');
	$frames['base']['items']['bdelete']['active'] = '';

	$frames['base']['items']['ladder']['url'] = web_url('application/ladder/list');
	$frames['base']['items']['ladder']['title'] = '阶梯团';
	$frames['base']['items']['ladder']['actions'] = array('ac','ladder');
	$frames['base']['items']['ladder']['active'] = '';






	return $frames;
}
function getdataFrames(){
	global $_W;
	$frames = array();
	/*$frames['data']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 管理数据';
	$frames['data']['items'] = array();

	$frames['data']['items']['home_data']['url'] = web_url('data/home_data');
	$frames['data']['items']['home_data']['title'] = '数据概况';
	$frames['data']['items']['home_data']['actions'] = array();
	$frames['data']['items']['home_data']['active'] = '';
	$frames['data']['items']['home_data']['append']['url'] = web_url('data/home_data');
	$frames['data']['items']['home_data']['append']['title'] = '';

	$frames['data']['items']['goods_data']['url'] = web_url('data/goods_data');
	$frames['data']['items']['goods_data']['title'] = '项目Top10';
	$frames['data']['items']['goods_data']['actions'] = array();
	$frames['data']['items']['goods_data']['active'] = '';
	$frames['data']['items']['goods_data']['append']['url'] = web_url('data/goods_data');
	$frames['data']['items']['goods_data']['append']['title'] = '';

	$frames['data']['items']['order_data']['url'] = web_url('data/order_data');
	$frames['data']['items']['order_data']['title'] = '订单统计';
	$frames['data']['items']['order_data']['actions'] = array();
	$frames['data']['items']['order_data']['active'] = '';
	$frames['data']['items']['order_data']['append']['url'] = web_url('data/order_data');
	$frames['data']['items']['order_data']['append']['title'] = '';

	$frames['data']['items']['sorder_data']['url'] = web_url('data/sorder_data');
	$frames['data']['items']['sorder_data']['title'] = '项目销售统计';
	$frames['data']['items']['sorder_data']['actions'] = array();
	$frames['data']['items']['sorder_data']['active'] = '';
	$frames['data']['items']['sorder_data']['append']['url'] = web_url('data/sorder_data');
	$frames['data']['items']['sorder_data']['append']['title'] = '';

	$frames['log']['title'] = '<i class="fa fa-history"></i>&nbsp;&nbsp; 日志';
	$frames['log']['items'] = array();

	$frames['log']['items']['system_log']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log']['title'] = '系统日志';
	$frames['log']['items']['system_log']['actions'] = array();
	$frames['log']['items']['system_log']['active'] = '';
	$frames['log']['items']['system_log']['append']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log']['append']['title'] = '';

	$frames['log']['title'] = '<i class="fa fa-history"></i>&nbsp;&nbsp; 回复统计';
	$frames['log']['items'] = array();

	$frames['log']['items']['system_log']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log']['title'] = '聊天记录';
	$frames['log']['items']['system_log']['actions'] = array();
	$frames['log']['items']['system_log']['active'] = '';
	$frames['log']['items']['system_log']['append']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log']['append']['title'] = '';

	$frames['log']['items']['system_log1']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log1']['title'] = '回复规则';
	$frames['log']['items']['system_log1']['actions'] = array();
	$frames['log']['items']['system_log1']['active'] = '';
	$frames['log']['items']['system_log1']['append']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log1']['append']['title'] = '';

	$frames['log']['items']['system_log2']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log2']['title'] = '关键字命中';
	$frames['log']['items']['system_log2']['actions'] = array();
	$frames['log']['items']['system_log2']['active'] = '';
	$frames['log']['items']['system_log2']['append']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log2']['append']['title'] = '';

	$frames['log']['items']['system_log3']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log3']['title'] = '参数';
	$frames['log']['items']['system_log3']['actions'] = array();
	$frames['log']['items']['system_log3']['active'] = '';
	$frames['log']['items']['system_log3']['append']['url'] = web_url('data/system_log');
	$frames['log']['items']['system_log3']['append']['title'] = '';
*/
	$frames['sc']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 商城概况';
	$frames['sc']['items'] = array();

	$frames['sc']['items']['sjgk_data']['url'] = web_url('data/sjgk_data');
	$frames['sc']['items']['sjgk_data']['title'] = '数据概况';
	$frames['sc']['items']['sjgk_data']['actions'] = array();
	$frames['sc']['items']['sjgk_data']['active'] = '';


	$frames['sc']['items']['scgk_data']['url'] = web_url('data/scgk_data');
	$frames['sc']['items']['scgk_data']['title'] = '商城访问趋势';
	$frames['sc']['items']['scgk_data']['actions'] = array();
	$frames['sc']['items']['scgk_data']['active'] = '';





//	$frames['sc']['items']['sczhl_data']['url'] = web_url('data/sczhl_data');
//	$frames['sc']['items']['sczhl_data']['title'] = '商城转化率趋势';
//	$frames['sc']['items']['sczhl_data']['actions'] = array();
//	$frames['sc']['items']['sczhl_data']['active'] = '';

	$frames['sc']['items']['sczhl_count_data']['url'] = web_url('data/sczhl_count_data');
	$frames['sc']['items']['sczhl_count_data']['title'] = '商城转化率统计';
	$frames['sc']['items']['sczhl_count_data']['actions'] = array();
	$frames['sc']['items']['sczhl_count_data']['active'] = '';

	$frames['sc']['items']['order_count_data']['url'] = web_url('data/order_count_data');
	$frames['sc']['items']['order_count_data']['title'] = '商城指标趋势';
	$frames['sc']['items']['order_count_data']['actions'] = array();
	$frames['sc']['items']['order_count_data']['active'] = '';

	$frames['sc']['items']['order_area']['url'] = web_url('data/order_area_data');
	$frames['sc']['items']['order_area']['title'] = '用户区域分布';
	$frames['sc']['items']['order_area']['actions'] = array();
	$frames['sc']['items']['order_area']['active'] = '';

	$frames['sp']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 项目概况';
	$frames['sp']['items'] = array();

	$frames['sp']['items']['spxstj_data']['url'] = web_url('data/spxstj_data');
	$frames['sp']['items']['spxstj_data']['title'] = '项目销售统计';
	$frames['sp']['items']['spxstj_data']['actions'] = array();
	$frames['sp']['items']['spxstj_data']['active'] = '';


	$frames['sp']['items']['spxstjhz_data']['url'] = web_url('data/spxstjhz_data');
	$frames['sp']['items']['spxstjhz_data']['title'] = '项目销售统计汇总';
	$frames['sp']['items']['spxstjhz_data']['actions'] = array();
	$frames['sp']['items']['spxstjhz_data']['active'] = '';


	$frames['sp']['items']['fans_count_data']['url'] = web_url('data/fans_count_data');
	$frames['sp']['items']['fans_count_data']['title'] = '粉丝购买力及消费统计';
	$frames['sp']['items']['fans_count_data']['actions'] = array();
	$frames['sp']['items']['fans_count_data']['active'] = '';


	$frames['sp']['items']['hexiao_data']['url'] = web_url('data/hexiao_data');
	$frames['sp']['items']['hexiao_data']['title'] = '核销员核销金额排行榜';
	$frames['sp']['items']['hexiao_data']['actions'] = array();
	$frames['sp']['items']['hexiao_data']['active'] = '';



	$frames['dd']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 订单概况';
	$frames['dd']['items'] = array();

	$frames['dd']['items']['buy_model_data']['url'] = web_url('data/buy_model_data');
	$frames['dd']['items']['buy_model_data']['title'] = '购买模式实时对比图';
	$frames['dd']['items']['buy_model_data']['actions'] = array();
	$frames['dd']['items']['buy_model_data']['active'] = '';


	$frames['dd']['items']['group_num_data']['url'] = web_url('data/group_num_data');
	$frames['dd']['items']['group_num_data']['title'] = '成团人数实时对比图';
	$frames['dd']['items']['group_num_data']['actions'] = array();
	$frames['dd']['items']['group_num_data']['active'] = '';
/*
	$frames['dd']['items']['group_ordernum_data']['url'] = web_url('data/group_ordernum_data');
	$frames['dd']['items']['group_ordernum_data']['title'] = '成团订单量对比';
	$frames['dd']['items']['group_ordernum_data']['actions'] = array();
	$frames['dd']['items']['group_ordernum_data']['active'] = '';
*/
	$frames['dd']['items']['store_check_data']['url'] = web_url('data/store_check_data');
	$frames['dd']['items']['store_check_data']['title'] = '门店核销实时对比图';
	$frames['dd']['items']['store_check_data']['actions'] = array();
	$frames['dd']['items']['store_check_data']['active'] = '';

	$frames['dd']['items']['dispatch_data']['url'] = web_url('data/dispatch_data');
	$frames['dd']['items']['dispatch_data']['title'] = '配送方式实时对比图';
	$frames['dd']['items']['dispatch_data']['actions'] = array();
	$frames['dd']['items']['dispatch_data']['active'] = '';

	$frames['dd']['items']['store_real_data']['url'] = web_url('data/store_real_data');
	$frames['dd']['items']['store_real_data']['title'] = '下单门店准确率';
	$frames['dd']['items']['store_real_data']['actions'] = array();
	$frames['dd']['items']['store_real_data']['active'] = '';


	return $frames;
}
function getserviceFrames(){
	global $_W;
	$frames = array();
	$frames['service']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 订购中心';
	$frames['service']['items'] = array();

	if($_W['uniacid']==53){
		$frames['service']['items']['acclist']['url'] = web_url('service/acclist');
		$frames['service']['items']['acclist']['title'] = '购买记录';
		$frames['service']['items']['acclist']['actions'] = array();
		$frames['service']['items']['acclist']['active'] = '';
		$frames['service']['items']['acclist']['append']['url'] = web_url('service/acclist');
		$frames['service']['items']['acclist']['append']['title'] = '';

		$frames['service']['items']['viplist']['url'] = web_url('service/viplist');
		$frames['service']['items']['viplist']['title'] = 'VIP用户';
		$frames['service']['items']['viplist']['actions'] = array();
		$frames['service']['items']['viplist']['active'] = '';
		$frames['service']['items']['viplist']['append']['url'] = web_url('service/viplist');
		$frames['service']['items']['viplist']['append']['title'] = '';
	}
	$frames['service']['items']['vip_service']['url'] = web_url('service/vip_service');
	$frames['service']['items']['vip_service']['title'] = '年度VIP';
	$frames['service']['items']['vip_service']['actions'] = array();
	$frames['service']['items']['vip_service']['active'] = '';
	//$frames['service']['items']['vip_service']['append']['url'] = web_url('service/vip_service');
	//$frames['service']['items']['vip_service']['append']['title'] = '';

	$frames['service']['items']['order_service']['url'] = web_url('service/order_service');
	$frames['service']['items']['order_service']['title'] = '订单套餐';
	$frames['service']['items']['order_service']['actions'] = array();
	$frames['service']['items']['order_service']['active'] = '';
	//$frames['service']['items']['order_service']['append']['url'] = web_url('service/order_service');
	//$frames['service']['items']['order_service']['append']['title'] = '';


	$frames['workform']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 工单';
	$frames['workform']['items'] = array();

	$frames['workform']['items']['submit_workform']['url'] = web_url('service/workform_submit');
	$frames['workform']['items']['submit_workform']['title'] = '工单提交';
	$frames['workform']['items']['submit_workform']['actions'] = array();
	$frames['workform']['items']['submit_workform']['active'] = '';
	//$frames['workform']['items']['submit_workform']['append']['url'] = web_url('service/workform_submit');
	//$frames['workform']['items']['submit_workform']['append']['title'] = '';

	$frames['workform']['items']['list_workform']['url'] = web_url('service/workform_list');
	$frames['workform']['items']['list_workform']['title'] = '工单列表';
	$frames['workform']['items']['list_workform']['actions'] = array();
	$frames['workform']['items']['list_workform']['active'] = '';
	//$frames['workform']['items']['list_workform']['append']['url'] = web_url('service/workform_list');
	//$frames['workform']['items']['list_workform']['append']['title'] = '';


	if($_W['uniacid']==53 || $_W['isfounder']){
	$frames['workform']['items']['process_workform']['url'] = web_url('service/workform_list_admin');
	$frames['workform']['items']['process_workform']['title'] = '工单管理';
	$frames['workform']['items']['process_workform']['actions'] = array();
	$frames['workform']['items']['process_workform']['active'] = '';
	//$frames['workform']['items']['process_workform']['append']['url'] = web_url('service/workform_list_admin');
	//$frames['workform']['items']['process_workform']['append']['title'] = '';
	}

	$frames['workform']['items']['function_workform']['url'] = web_url('service/workform_list_newfunction');
	$frames['workform']['items']['function_workform']['title'] = '开发进度';
	$frames['workform']['items']['function_workform']['actions'] = array();
	$frames['workform']['items']['function_workform']['active'] = '';
	//$frames['workform']['items']['function_workform']['append']['url'] = web_url('service/workform_list_newfunction');
	//$frames['workform']['items']['function_workform']['append']['title'] = '';

	if($_W['uniacid']==53){

	$frames['workbook']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 手册';
	$frames['workbook']['items'] = array();

	$frames['workbook']['items']['workbook_submit']['url'] = web_url('service/workbook_submit');
	$frames['workbook']['items']['workbook_submit']['title'] = '手册发布1';
	$frames['workbook']['items']['workbook_submit']['actions'] = array();
	$frames['workbook']['items']['workbook_submit']['active'] = '';
	//$frames['workbook']['items']['workbook_submit']['append']['url'] = web_url('service/workbook_submit');
	//$frames['workbook']['items']['workbook_submit']['append']['title'] = '';



	}
	/*
	$frames['service']['items']['workform']['url'] = web_url('service/workform');
	$frames['service']['items']['workform']['title'] = '工单';
	$frames['service']['items']['workform']['actions'] = array();
	$frames['service']['items']['workform']['active'] = '';
	$frames['service']['items']['workform']['append']['url'] = web_url('service/workform');
	$frames['service']['items']['workform']['append']['title'] = '';

	$frames['service']['items']['technical']['url'] = web_url('service/technical');
	$frames['service']['items']['technical']['title'] = '技术服务';
	$frames['service']['items']['technical']['actions'] = array();
	$frames['service']['items']['technical']['active'] = '';
	$frames['service']['items']['technical']['append']['url'] = web_url('service/technical');
	$frames['service']['items']['technical']['append']['title'] = '';

	$frames['service']['items']['adviser']['url'] = web_url('service/adviser');
	$frames['service']['items']['adviser']['title'] = '专属顾问';
	$frames['service']['items']['adviser']['actions'] = array();
	$frames['service']['items']['adviser']['active'] = '';
	$frames['service']['items']['adviser']['append']['url'] = web_url('service/adviser');
	$frames['service']['items']['adviser']['append']['title'] = '';
	*/
	return $frames;
}
function getagentFrames(){
	global $_W;
	$frames = array();
	$frames['agent']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 推荐有礼';
	$frames['agent']['items'] = array();

	$frames['agent']['items']['agent']['url'] = web_url('agent/agent');
	$frames['agent']['items']['agent']['title'] = '推荐有礼';
	$frames['agent']['items']['agent']['actions'] = array();
	$frames['agent']['items']['agent']['active'] = '';

	$frames['agent']['items']['agent_user']['url'] = web_url('agent/agent_users');
	$frames['agent']['items']['agent_user']['title'] = '用户管理';
	$frames['agent']['items']['agent_user']['actions'] = array();
	$frames['agent']['items']['agent_user']['active'] = '';

	if($_W['isfounder']||$_W['uniacid']==53||$_W['uniacid']==33||$_W['uniacid']==995){
	$frames['agent_admin']['title'] = '<i class="fa fa-pie-chart"></i>&nbsp;&nbsp; 后台管理';
	$frames['agent_admin']['items'] = array();

	$frames['agent_admin']['items']['agentss']['url'] = web_url('agent/examine');
	$frames['agent_admin']['items']['agentss']['title'] = '提现管理';
	$frames['agent_admin']['items']['agentss']['actions'] = array();
	$frames['agent_admin']['items']['agentss']['active'] = '';

	$frames['agent_admin']['items']['agent_subsidy']['url'] = web_url('agent/subsidy');
	$frames['agent_admin']['items']['agent_subsidy']['title'] = '补贴发放';
	$frames['agent_admin']['items']['agent_subsidy']['actions'] = array();
	$frames['agent_admin']['items']['agent_subsidy']['active'] = '';

	$frames['agent_admin']['items']['agent_user_admin']['url'] = web_url('agent/agent_users_admin');
	$frames['agent_admin']['items']['agent_user_admin']['title'] = '用户管理(admin)';
	$frames['agent_admin']['items']['agent_user_admin']['actions'] = array();
	$frames['agent_admin']['items']['agent_user_admin']['active'] = '';
	}

	return $frames;
}
function get_top_menus(){
	global $_W;
	$frames = array();
	$frames['gzhset']['title'] = '<i class="fa fa-cog"></i>&nbsp;&nbsp; 公众号设置';
	$frames['gzhset']['url'] = web_url('gzhset/special/display');
	$frames['gzhset']['active'] = 'gzhset';

	$frames['store']['title'] = '<i class="fa fa-desktop"></i>&nbsp;&nbsp; 商城';
	$frames['store']['url'] = web_url('store/setting/copyright');
	$frames['store']['active'] = 'store';

	$frames['goods']['title'] = '<i class="fa fa-gift"></i>&nbsp;&nbsp; 项目';
	$frames['goods']['url'] = web_url('goods/goods/display',array('status' => '1'));
	$frames['goods']['active'] = 'goods';

	$frames['order']['title'] = '<i class="fa fa-shopping-cart"></i>&nbsp;&nbsp; 订单';
	$frames['order']['url'] = web_url('order/order/summary');
	$frames['order']['active'] = 'order';

	$frames['member']['title'] = '<i class="fa fa-user"></i>&nbsp;&nbsp; 粉丝';
	$frames['member']['url'] = web_url('member/fangroup');
	$frames['member']['active'] = 'member';
	/*			if($_W['isfounder']){
        $frames['data']['title'] = '<i class="fa fa-area-chart"></i>&nbsp;&nbsp; 数据中心';
        $frames['data']['url'] = web_url('data/sjgk_data');
        $frames['data']['acte'] = 'data';
                }
    /*
        $frames['application']['title'] = '<i class="fa fa-cubes"></i>&nbsp;&nbsp; 应用和营销';
        $frames['application']['url'] = web_url('application/plugins/list');
        $frames['application']['active'] = 'application';
        */
	/*
	$frames['data']['title'] = '<i class="fa fa-area-chart"></i>&nbsp;&nbsp; 供应链';
	$frames['data']['url'] = web_url('data/home_data');
	$frames['data']['active'] = 'data';

	$frames['data1']['title'] = '<i class="fa fa-area-chart"></i>&nbsp;&nbsp; 增值服务';
	$frames['data1']['url'] = web_url('data/home_data');
	$frames['data1']['active'] = 'data1';

	$frames['data3']['title'] = '<i class="fa fa-area-chart"></i>&nbsp;&nbsp; 专属顾问';
	$frames['data3']['url'] = web_url('data/home_data');
	$frames['data3']['active'] = 'data3';


	$frames['service']['title'] = '<i class="fa fa-user-md"></i>&nbsp;&nbsp; 服务';
	$frames['service']['url'] = web_url('service/vip_service');
	$frames['service']['active'] = 'service';

	$frames['agent']['title'] = '<i class="fa fa-gift"></i>&nbsp;&nbsp; 推荐有礼';
	$frames['agent']['url'] = web_url('agent/agent');
	$frames['agent']['active'] = 'agent';

	*/

	return $frames;
}
